package online.mjchow.fic.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by mjchow on 17-11-30.
 */
@RestController
public class ErrorPageController {


    @RequestMapping("/400")
    public String error400() {
        return "400";
    }

    @RequestMapping("/404")
    public String error404() {
        return "404";
    }

    @RequestMapping("/405")
    public String error405() {
        return "405";
    }

    @RequestMapping("/500")
    public String error500() {
        return "500";
    }
}
